﻿//*** Guidance generated code ***//
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using System.Linq;
using System.Runtime.Serialization;

using ProjectBase.Core;

namespace ProjectBase.Mvc.Views
{
    [Serializable]
    [DataContract]
    public class JTable
    {
        #region members
        IList<JCaption> _caption = new List<JCaption>();
        IList<JRow> _head = new List<JRow>();
        IList<JRowCell> _noResult = new List<JRowCell>();
        IList<JRow> _row = new List<JRow>();
        #endregion members

        [DataMember]
        public virtual IList<JCaption> Caption
        {
            get { return _caption; }
            set { _caption = value; }
        }

        [DataMember]
        public virtual IList<JRow> Head
        {
            get { return _head; }
            set { _head = value; }
        }

        [DataMember(Name = "Row")]
        public virtual IList<JRow> Rows
        {
            get { return _row; }
            set { _row = value; }
        }

        [DataMember]
        public virtual IList<JRowCell> NoResult
        {
            get { return _noResult; }
            set { _noResult = value; }
        }
    }
}